package LinkedLlist;

public class TowListTest {

    public static void main1(String[] args) {
      TowList towList = new TowList();
      towList.addFirst(10);
        towList.addFirst(20);
        towList.addFirst(30);
        towList.addFirst(40);
       // towList.display();
//        towList.addLast(40);
//        towList.addLast(30);
//        towList.addLast(20);
//        towList.addLast(10);
//      towList.display();
//        System.out.println(towList.size());
//        System.out.println(towList.contains(10));
//        towList.clear();
      towList.addIndex(0,90);
      towList.display();

    }
}
